package com.gsafety.wellsfort.service.common;

import com.gsafety.wellsfort.common.enums.RedisPrefixEnum;

public interface SmsService {
    /**
     * 发送验证码
     * @param phone 手机号码
     * @param redisPrefixEnum 存入redis类型,传递为空,不存入redis
     * @return
     */
    boolean sendCaptcha(String phone, RedisPrefixEnum redisPrefixEnum);


    /**
     * 发送消息
     * @param phone
     * @param content
     * @return
     */
    boolean sendMsg(String phone,String content);
}
